package com.example.service.webhook.business.carrier.entity;

import com.example.service.webhook.repository.base.Saveable;

import java.util.Date;

/**
 * @author liyang
 * @email liyang@51dojo.com
 * @create 2017-10-31 下午9:12
 * @description 通话记录月份采集结果
 **/
public class MonthItemEntity implements Saveable{
    private long id;
    private String userId;
    private String mobile;

    private String month;
    private int value;

    private Date createTime;
    private Date lastModifyTime;
    private static final String[] keyColumns = {"id"};
    private static final String tableName = "t_monthitem";

    @Override
    public String getTableName() {
        return tableName;
    }

    @Override
    public String[] getKeyColumns() {
        return keyColumns;
    }

    @Override
    public String getPrimaryVal() {
        return String.valueOf(id);
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLastModifyTime() {
        return lastModifyTime;
    }

    public void setLastModifyTime(Date lastModifyTime) {
        this.lastModifyTime = lastModifyTime;
    }
}
